$hotRecruit = $(".content .hot-recruit .titles span")
$hotRecruitDetailsUl = $(".content .hot-recruit .details ul")

$hotRecruit.on("click", function () {
    var index = $(this).index();
    $(this).addClass("titles-current").siblings().removeClass("titles-current");
    $hotRecruitDetailsUl.eq(index).addClass("details-current").siblings().removeClass("details-current");
})


$hotCompany = $(".content .hot-company .titles span")
$hotCompanyDetailsUl = $(".content .hot-company .details ul")

$hotCompany.on("click", function () {
    var index = $(this).index();
    $(this).addClass("titles-current").siblings().removeClass("titles-current");
    $hotCompanyDetailsUl.eq(index).addClass("details-current").siblings().removeClass("details-current");
})

$hotLinks = $(".content .hot-links .titles span")
$hotLinksDetailsUl = $(".content .hot-links .details ul")

$hotLinks.on("click", function () {
    var index = $(this).index();
    $(this).addClass("titles-current").siblings().removeClass("titles-current");
    $hotLinksDetailsUl.eq(index).addClass("details-current").siblings().removeClass("details-current");
})